package adminRequest

type ExamTimeListRequest struct {
	Page     int `form:"page" json:"page" validate:"required" msg:"页码必须存在"`
	PageSize int `form:"pageSize,default:15" json:"pageSize,default:15"`
}

type AddExamTimeRequest struct {
	Title     string                 `form:"title" json:"title" validate:"required" msg:"考次名称必须存在"`
	Kskm      string                 `form:"kskm" json:"kskm" validate:"required" msg:"科目必须存在"`
	StuRange  map[string]interface{} `form:"stu_range" json:"stu_range" validate:"required" msg:"人员范围必须存在"`
	StartTime int64                  `form:"start_time"json:"start_time" validate:"required" msg:"开始时间必须存在"`
	EndTime   int64                  `form:"end_time"json:"end_time" validate:"required" msg:"结束时间必须存在"`
	ExamType  int                    `form:"exam_type"json:"exam_type" validate:"required" msg:"考试类型必须存在"`
	IsApp     int                    `form:"is_app"json:"is_app" validate:"required" msg:"考次预约类型必须存在"`
	JzwId     string                 `form:"jzw_id"json:"jzw_id"`
	RoomId    string                 `form:"room_id"json:"room_id"`
	SubTitle  string                 `form:"sub_title"json:"sub_title"`
}

type EditExamTimeRequest struct {
	AddExamTimeRequest
	Id int64 `form:"id" json:"id" validate:"required"`
}
